package com.ynr.company.service.impl;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ynr.company.service.ICompanyService;
import com.ynr.dao.ICompanyDao;

@Service("companyService")
public class CompanyServiceImpl implements ICompanyService {
	
	private static final Logger logger = LoggerFactory.getLogger(CompanyServiceImpl.class);

	@Autowired
	private ICompanyDao companyDao;
	
	@Override
	public List<Map<String, String>> getAllCompany() {
		return companyDao.getAllCompany();
	}
	
}
